package com.yw.dataAsset.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "首页数据字段实体类")
public class AssetFieldVO {
    /**
     * 数据资产字段id
     */
    @Schema(name = "id", description = "数据资产字段id")
    private Integer id;

    /**
     * 字段中文名称
     */
    @Schema(name = "fieldCname", description = "中文名称")
    private String fieldCname;

    /**
     * 字段英文名称
     */
    @Schema(name = "fieldEname", description = "英文名称")
    private String fieldEname;

    /**
     * 字段说明
     */
    @Schema(name = "fieldDesc", description = "字段说明")
    private String fieldDesc;



    /**
     * 数据长度
     */
    @Schema(name = "length", description = "数据长度")
    private Integer length;

    /**
     * 数据精度
     */
    @Schema(name = "numAccuracy", description = "数据精度")
    private Integer numAccuracy;

    /**
     * 默认值
     */
    @Schema(name = "defaultNum", description = "默认值")
    private String defaultNum;

    /**
     * 取值范围
     */
    @Schema(name = "valueRange", description = "取值范围")
    private String valueRange;

    /**
     * 枚举范围：码表的编号
     */
    @Schema(name = "code", description = "码表编号")
    private String code;
}
